const menuConfig = [
  {
    title: "首页", // 菜单标题名称
    key: "/home", // 对应的 path
    icon: "UserOutlined", // 图标名称
  },
  {
    title: "商品",
    key: "/products",
    icon: "OrderedListOutlined",
    children: [
      { title: "品类管理", key: "/category", icon: "DatabaseOutlined" },
      { title: "商品管理", key: "/product", icon: "DatabaseOutlined" },
    ],
  },
  {
    title: "图形图表",
    key: "/charts",
    icon: "MacCommandOutlined",
    children: [
      { title: "柱形图", key: "/charts/bar", icon: "BarChartOutlined" },
      { title: "折线图", key: "/charts/line", icon: "StockOutlined" },
      { title: "饼图", key: "/charts/pie", icon: "PieChartOutlined" },
    ],
  },
];
export default menuConfig;
